package com.insigma.yanwenlong.bookkeeping.pojo;

import java.sql.Date;

public class Detail {
	private int id;
	private int accountId;
	private double happenMoney;
	private int categoryId;
	private Date tranTime;
	private int memberId;
	private String note;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getAccountId() {
		return accountId;
	}
	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}
	public double getHappenMoney() {
		return happenMoney;
	}
	public void setHappenMoney(double happenMoney) {
		this.happenMoney = happenMoney;
	}
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	public Date getTranTime() {
		return tranTime;
	}
	public void setTranTime(Date tranTime) {
		this.tranTime = tranTime;
	}
	public int getMemberId() {
		return memberId;
	}
	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	@Override
	public String toString() {
		return happenMoney + id + note + tranTime;
	}
	
}
